home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
libs
/
knowhow4
/
filter.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-10-10
|
699b
|
24 lines
/* This file contains filters. There are 3x3 kernel digital filters
*/
#ifndef __FILTER_H_
#define __FILTER_H_
#include "graphpp.h"
#include "gbuf.h"
//#include "tools.h"
extern void filter(int** kernel, rect coord); // digital filter
extern void color_filter(int* kernel, rect coord); // digital filter
extern void dither_BW(int* threshold, rect coord, loc dim); // digital halftoning using
// pattern mask
extern void dither_BW(int* threshold, rect coord, loc dim,
GrafBuffer* buf);
// 16 color -> B/W using error propagation
extern void error_dither(rect coord);
extern void error_dither_buf(GrafBuffer* buf, rect coord);
#endif __FILTER_H_